package com.xyazm.order.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xyazm.common.domain.BaseDO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 订单支付明细表
 * </p>
 *
 * @author xuyou
 * @since 2022-05-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "OrderPaymentDetail对象", description = "订单支付明细表")
@TableName("order_payment_detail")
public class OrderPaymentDetailDO extends BaseDO implements Serializable {

    @ApiModelProperty(value = "订单编号")
    @TableField("order_id")
    private String orderId;

    @ApiModelProperty(value = "账户类型")
    @TableField("account_type")
    private Integer accountType;

    @ApiModelProperty(value = "支付类型 10:微信支付,20:支付宝支付")
    @TableField("pay_type")
    private Integer payType;

    @ApiModelProperty(value = "支付状态 10:未支付,20:已支付")
    @TableField("pay_status")
    private Integer payStatus;

    @ApiModelProperty(value = "支付金额")
    @TableField("pay_amount")
    private Integer payAmount;

    @ApiModelProperty(value = "支付时间")
    @TableField("pay_time")
    private Date payTime;

    @ApiModelProperty(value = "支付系统交易流水号")
    @TableField("out_trade_no")
    private String outTradeNo;

    @ApiModelProperty(value = "支付备注信息")
    @TableField("pay_remark")
    private String payRemark;


}
